package com.mybrothers.po;

import java.io.Serializable;
import java.util.Date;

public class Teacher implements Serializable {
    private Integer id;

    private String teacherLoginName;

    private String teacherLoginPassword;

    private String teacherGenre;

    private String teacherName;

    private String teacherSex;

    private Date teacherBirthday;

    private Date teacherIntime;

    private String teacherEducation;

    private String teacherTitle;

    private String teacherPolitical;

    private String teacherPlace;

    private String teacherPeopleId;

    private String teacherHomePhone;

    private String teacherMobilePhone;

    private String teacherEmail;

    private String teacherDescription;

    private String teacherPhotoAddress;

    private Integer teacherOrgId;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTeacherLoginName() {
        return teacherLoginName;
    }

    public void setTeacherLoginName(String teacherLoginName) {
        this.teacherLoginName = teacherLoginName;
    }

    public String getTeacherLoginPassword() {
        return teacherLoginPassword;
    }

    public void setTeacherLoginPassword(String teacherLoginPassword) {
        this.teacherLoginPassword = teacherLoginPassword;
    }

    public String getTeacherGenre() {
        return teacherGenre;
    }

    public void setTeacherGenre(String teacherGenre) {
        this.teacherGenre = teacherGenre;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public String getTeacherSex() {
        return teacherSex;
    }

    public void setTeacherSex(String teacherSex) {
        this.teacherSex = teacherSex;
    }

    public Date getTeacherBirthday() {
        return teacherBirthday;
    }

    public void setTeacherBirthday(Date teacherBirthday) {
        this.teacherBirthday = teacherBirthday;
    }

    public Date getTeacherIntime() {
        return teacherIntime;
    }

    public void setTeacherIntime(Date teacherIntime) {
        this.teacherIntime = teacherIntime;
    }

    public String getTeacherEducation() {
        return teacherEducation;
    }

    public void setTeacherEducation(String teacherEducation) {
        this.teacherEducation = teacherEducation;
    }

    public String getTeacherTitle() {
        return teacherTitle;
    }

    public void setTeacherTitle(String teacherTitle) {
        this.teacherTitle = teacherTitle;
    }

    public String getTeacherPolitical() {
        return teacherPolitical;
    }

    public void setTeacherPolitical(String teacherPolitical) {
        this.teacherPolitical = teacherPolitical;
    }

    public String getTeacherPlace() {
        return teacherPlace;
    }

    public void setTeacherPlace(String teacherPlace) {
        this.teacherPlace = teacherPlace;
    }

    public String getTeacherPeopleId() {
        return teacherPeopleId;
    }

    public void setTeacherPeopleId(String teacherPeopleId) {
        this.teacherPeopleId = teacherPeopleId;
    }

    public String getTeacherHomePhone() {
        return teacherHomePhone;
    }

    public void setTeacherHomePhone(String teacherHomePhone) {
        this.teacherHomePhone = teacherHomePhone;
    }

    public String getTeacherMobilePhone() {
        return teacherMobilePhone;
    }

    public void setTeacherMobilePhone(String teacherMobilePhone) {
        this.teacherMobilePhone = teacherMobilePhone;
    }

    public String getTeacherEmail() {
        return teacherEmail;
    }

    public void setTeacherEmail(String teacherEmail) {
        this.teacherEmail = teacherEmail;
    }

    public String getTeacherDescription() {
        return teacherDescription;
    }

    public void setTeacherDescription(String teacherDescription) {
        this.teacherDescription = teacherDescription;
    }

    public String getTeacherPhotoAddress() {
        return teacherPhotoAddress;
    }

    public void setTeacherPhotoAddress(String teacherPhotoAddress) {
        this.teacherPhotoAddress = teacherPhotoAddress;
    }

    public Integer getTeacherOrgId() {
        return teacherOrgId;
    }

    public void setTeacherOrgId(Integer teacherOrgId) {
        this.teacherOrgId = teacherOrgId;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Teacher other = (Teacher) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        return result;
    }
}